package com.xuecheng.manage_cms.dao;

import com.xuecheng.framework.domain.cms.CmsSite;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface CmsSiteRepository extends MongoRepository<CmsSite,String> {

    /**
     * 根据站点名称和站点路径查询
     * @param siteName
     * @param siteWebPath
     * @return
     */
    CmsSite findBySiteNameAndSiteWebPath(String siteName,String siteWebPath);
}
